package design.patterns.creational.abstractfactroy;

/**
 * @author gjx
 * @version v1.0
 * @Description
 * @date 2019/3/29 17:18
 */
public abstract class Phone {
    protected String name;
    protected Double price;

    public Phone() {
    }

    public Phone(String name, Double price) {
        this.name = name;
        this.price = price;
    }

    @Override
    public String toString() {
        return "Phone{" +
                "name='" + name + '\'' +
                ", price=" + price +
                '}';
    }
}
